package java4;

public class T41 {
	class Person{
	}
	class Company{
	}
	class Employee extends Person{
		private Company company;
		private double salary;
	}
	public String toString(){
		return super.toString()+"-"+company.toString+"-"+salary;
	}

	public static void main(String[] args) {
		

	}

}
